package b.h.y.bj.base.impl;

import android.app.Activity;
import android.graphics.Color;
import android.view.Gravity;
import android.view.View;
import android.widget.TextView;

import com.jeremyfeinstein.slidingmenu.lib.SlidingMenu;

import b.h.y.bj.MainActivity;
import b.h.y.bj.base.BasePager;

/**
 * 设置实现
 * Created by YHB on 2015/12/31.
 */
public class SettingPager extends BasePager {

    public SettingPager(Activity activity) {
        super(activity);
    }

    @Override
    public void initData() {
        setSlidingMenuEnable(false);

        mBtnImage.setVisibility(View.INVISIBLE);

        tvTitle.setText("设置");
        TextView textView = new TextView(mActivity);
        textView.setText("设置");
        textView.setTextColor(Color.RED);
        textView.setTextSize(25);
        textView.setGravity(Gravity.CENTER);
        flContent.addView(textView);
    }
}
